#ifndef __DINPUT___
#define __DINPUT___


#include <windows.h>
#include <dinput.h>
#include <string>
#include <vector>

using namespace std;

/*
// The callback function to enumerate the installed devices
BOOL CALLBACK    EnumDevicesCallback( const DIDEVICEINSTANCE* pdidInstance, VOID* pContext );
HRESULT CreateDevice(REFGUID rguid, LPDIRECTINPUTDEVICE *lplpDirectInputDevice, LPUNKNOWN pUnkOuter);
HRESULT SetDataFormat(LPCDIDATAFORMAT lpdf);
HRESULT SetCooperativeLevel(HWND hwnd, DWORD dwFlags);*/

struct XandY
{

	float transX,transY;
};

XandY Get_Input(HINSTANCE&, float&, float&, float&, float&, float&, float&);
BOOL CALLBACK Create_DI(HINSTANCE&, HWND&);
void Name_Devices();
BOOL CALLBACK Delete_DI(HINSTANCE&);

#endif